package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 course
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 封面 */
    @Excel(name = "封面")
    private String image;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String type;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String name;

    /** 课程时长 */
    @Excel(name = "课程时长")
    private String count;

    /** 是否推送 */
    @Excel(name = "是否推送")
    private String isPush;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }
    public void setIsPush(String isPush) 
    {
        this.isPush = isPush;
    }

    public String getIsPush() 
    {
        return isPush;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("type", getType())
            .append("name", getName())
            .append("count", getCount())
            .append("createTime", getCreateTime())
            .append("isPush", getIsPush())
            .toString();
    }
}
